package com.ssm.subject.application.convert;

import com.ssm.subject.application.dto.SubjectLabelDTO;
import com.ssm.subject.domain.bo.SubjectCategoryBO;
import com.ssm.subject.domain.bo.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDTOConvert {
    SubjectLabelDTOConvert INSTANCE = Mappers.getMapper(SubjectLabelDTOConvert.class);

    //LabelDto 转 Bo
    SubjectLabelBO SubjectLabelDtoToBo(SubjectLabelDTO subjectLabelDto);

    //LabelBOListToDTOList
    List<SubjectLabelDTO> SubjectLabeBosToDtos(List<SubjectLabelBO> subjectLabelBOList);
}
